{
 "metadata": {
  "name": "",
  "signature": "sha256:2c5de30aaf8b927530175f2397a1ae082634b8315aef199739af3e885ecde3c2"
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Task1\uff1a \u8fd9\u4e2a\u76ee\u5f55\u4e0b\u6709\u5f88\u591a\u6587\u4ef6\uff0c\u628a\u6240\u6709\u6587\u4ef6\u540d\u52a0\u4e0a.jpg\u540e\u7f00"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": true,
     "input": [
      "import os"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [],
     "prompt_number": 1
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "for i in os.listdir('.'):\n",
      "    os.rename(i,i[:-4])"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [],
     "prompt_number": 6
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "cd step1/"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "/home/wkc/project/python-slide/step1\n"
       ]
      }
     ],
     "prompt_number": 5
    },
    {
     "cell_type": "code",
     "collapsed": true,
     "input": [],
     "language": "python",
     "metadata": {},
     "outputs": []
    }
   ],
   "metadata": {}
  }
 ]
}